package com.tulingxueyuan.mall.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderConditionDTO订单列表筛选条件", description="用于订单列表筛选条件参数接收")
public class OrderConditionDTO {
    private Integer pageNum;
    private Integer pageSize;
    @ApiModelProperty(value = "订单号")
    private String orderSn;
    @ApiModelProperty(value = "下单人")
    private String receiverKeyword;
    @ApiModelProperty(value = "订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer status;
    @ApiModelProperty(value = "订单类型：0->正常下单；1->秒杀订单")
    private Integer orderType;
    @ApiModelProperty(value = "订单来源：0->PC订单；1->APP订单")
    private Integer sourceType;
    @ApiModelProperty(value = "下单时间")
    private Date createTime;
}
